package com.wise.site.protocol.result;

import org.json.JSONException;
import org.json.JSONObject;

import com.wise.site.R;
import com.wise.site.protocol.base.SoapItem;

public class ImageItem extends SoapItem {
	
	/*
	 * id
	 */
	private int id;
	/*
	 * 图片地址
	 */
	public String iconURL;
	/*
	 * 标题
	 */
	public String tilte;
	/*
	 * 简介
	 */
	public String snipe;
	/*
	 * 创建日期
	 */
	public String date;

	@Override
	public void parse(JSONObject node) throws JSONException {
		
		test();
	}
	
	private void test(){
		this.id = 0;
		this.iconURL = R.drawable.supply + "";
		this.tilte = "图片介绍";
		this.snipe = "简介";
		this.date = "2012年9月12日";
	}

	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}

	public String getIconURL() {
		return iconURL;
	}

	public void setIconURL(String iconURL) {
		this.iconURL = iconURL;
	}

	public String getTilte() {
		return tilte;
	}

	public void setTilte(String tilte) {
		this.tilte = tilte;
	}

	public String getSnipe() {
		return snipe;
	}

	public void setSnipe(String snipe) {
		this.snipe = snipe;
	}

	public String getDate() {
		return date;
	}

	public void setDate(String date) {
		this.date = date;
	}

	@Override
	public String toString() {
		return "ImageItem [id=" + id + ", iconURL=" + iconURL + ", tilte="
				+ tilte + ", snipe=" + snipe + ", date=" + date + "]";
	}
	
	

}
